import dayjs from 'dayjs'


// "YYYY-MM-DD HH:mm:ss"
export function getDate(date: string, formatType: string) {
    return dayjs(new Date(date)).format(formatType)
}